package com.nuc.kl.module.kpoint.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.nuc.kl.base.DaoSupport;
import com.nuc.kl.module.kpoint.entity.Knowledge;
import com.nuc.kl.module.usermanager.entity.People;
import com.nuc.kl.module.usermanager.entity.User;

public interface KPointService extends DaoSupport<Knowledge>{

	public void deleteByIds(String  ids);

	public List<Knowledge> searchPageByIndex(int start, int number,
			Map<String ,Object> m);
	public void save(Knowledge entity,People people);
	public void toReCycleBin(Long id,People people);
	public void update(Knowledge entity,People people);
	public void updateStatus(Knowledge entity,People people);

	public List<Knowledge> loadByNav(long id);

	public String getCreator(long id);

	public Long editTimes(long id);

	public Date getResentTime(long id);

	public void reCycle(Knowledge model, People people);
	
}
